Tablesome\Includes\Modules\TablesomeDB_Rest_Api\TablesomeDB_Rest_Api D

Total Complexity 137
Dependencies 6
Dependents 4
Total lines 794
Lines of code 497
Logical lines of code 284
Comment lines 96
Methods 31
Properties 4

Methods 31

Method Rating Maintainability Complexity Lines of code
get_triggers_and_actions()
B
44 20 43
get_params()
A
55 14 17
save_table()
A
54 8 20
get_sanitized_records()
A
56 8 18
create_cpt_post()
S
50 7 27
delete_records()
S
47 6 35
get_table_records()
S
49 6 30
check_table_access()
S
53 6 23
update_table_records()
S
48 5 32
update_records_count()
S
65 7 7
update_columns()
S
59 6 14
delete()
S
51 5 26
dispatch_mixpanel_event()
S
54 4 20
get_tables()
S
48 3 33
sanitize_by_type()
S
63 4 11
get_table_data()
S
49 2 32
count_items()
S
68 3 7
get_error_message()
S
62 2 11
get_param_rules()
S
55 1 23
api_access_permission()
S
68 2 7
update_display_settings()
S
75 2 4
update_editor_settings()
S
75 2 4
init()
S
65 2 8
init_table()
S
65 2 8
send_response()
S
68 2 7
update_style_settings()
S
75 2 4
is_admin_user()
S
72 2 6
get_sanitized_params()
S
70 1 6
update_table_records_rest()
S
73 1 5
save_table_rest()
S
73 1 5
__construct()
S
74 1 4